package com.ityuwen.mengyagushi.order.service;

import com.ityuwen.mengyagushi.model.order.OrderInfo;
import com.ityuwen.mengyagushi.vo.order.OrderInfoVo;
import com.ityuwen.mengyagushi.vo.order.TradeVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

public interface OrderInfoService extends IService<OrderInfo> {


    OrderInfoVo trade(TradeVo tradeVo);

    void submitOrder(OrderInfoVo orderInfoVo);

    void updateStatus(String orderNo, String orderStatusPaid, String statusPaid);

    OrderInfo getOrderInfo(String orderNo);

    Page<OrderInfo> findOrderInfoPage(Integer page, Integer limit);
}
